#!/bin/sh 
sox $1 -r 8000 -c 1 /var/lib/asterisk/sounds/voiceone/IVR/$(basename $1 .wav).gsm resample -ql && rm -f $1
